package com.netease.rmi.server;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * @author bjweitingting
 * @description
 * @date 2018/8/22
 **/
public interface UserHandlerInterface extends Remote {
    String getUserName(int id) throws RemoteException;

    int getUserCount() throws RemoteException;

    User getUserByName(String name) throws RemoteException;
}
